from . import index_blu
from flask import current_app
from flask import render_template
import logging


@index_blu.route('/', methods=["GET", "POST"])
def indedx():

    logging.debug("调试内容")

    return render_template("news/index.html")


@index_blu.route('/favicon.ico')
def get_web_lofo():

    return current_app.send_static_file("news/favicon.ico")